﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clandestine.Battle
{
    public abstract class Enemy : Combatant
    {
        private Sprite sprite;
        public override Sprite Sprite
        {
            get { return sprite; }
        }

        private string filename = string.Empty;

        public Enemy(string name, string filename)
        {
            this.filename = filename;
            this.Name = name;
        }

        public override void InitialiseSprite()
        {
            this.sprite = new Sprite(filename);
            this.Sprite.Visible = false;
        }

        public override void DeinitialiseSprite()
        {
            sprite.Dispose();
        }

        public abstract void TakeTurn(BattleController battle);
    }
}
